//package com.gba.mark.origin.controller;
//
////import com.gba.mark.origin.service.IESOriginService;
//import com.gba.mark.util.ResponseUtil;
//import org.springframework.http.HttpStatus;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//import java.io.IOException;
//import java.util.List;
//import java.util.Map;
//
//@RestController
//@RequestMapping("/origin")
//public class OriginController {
//
//  //  @Resource
//    //private IESOriginService esoriginService;
//
//    @PostMapping("/es")
//    public ResponseUtil<List<Map<String, Object>>> findByWord  (@RequestParam String word,
//                                                                @RequestParam int pageNo,
//                                                                @RequestParam int pageSize,
//                                                                @RequestParam String source) throws IOException {
//        return new ResponseUtil<List<Map<String, Object>>>(HttpStatus.OK,
//                esoriginService.findByWord(word,pageNo,pageSize,source));
//
//    }
//
//}
